package research.ui.editors.listeners;

import research.entity.Entity;
import research.ui.editors.EntityEditor;
import research.ui.editors.tableeditors.IEntityTableListener;

public class EntityTableModifyListener extends EditorListener implements
		IEntityTableListener {

	public EntityTableModifyListener(EntityEditor editor) {
		super(editor);
	}

	@Override
	public void add(Entity entity) {
		editor.setDirty(true);
	}

	@Override
	public void remove(Entity entity) {
		editor.setDirty(true);
	}

	@Override
	public void update(Entity entity) {
		editor.setDirty(true);
	}

}
